import request from '@/utils/request'

// 查询图书列表
export function listBook(query) {
    return request({
        url: '/management/book/list',
        method: 'get',
        params: query
    })
}

export function borrowBooks(ids) {
    return request({
        url: '/management/book/borrowBooks/'+ids,
        method: 'get',
    })
}
